package com.topscore.marketing.promotion.site.activity.coupon.data;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToOne;

@Data
@Entity
public class Brand {

    @Id
    @Column(length = 36)
    private String id;

    @Column(length = 50)
    private String name;

    @Column(length = 30)
    private String code;

    @OneToOne
    private Activity activity;
}
